<include file="Common@Backend/header" />
    <!-- page heading start-->
    <div class="page-heading">
        <h3>
            {$breadcrumb.A}
        </h3>
        <ul class="breadcrumb">
            <li>
                {$breadcrumb.M}
            </li>
            <li>
                {$breadcrumb.C}
            </li>
            <li class="active"> {$breadcrumb.A}  </li>
        </ul>
    </div>
    <!-- page heading end-->
    <!-- 添加商品 -->
    <div class="wrapper">
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <form role="form" action="{$action}" method="post">
                        <header class="panel-heading">
                            添加分类
                        </header>
                        <div class="panel-body">
                            <div class="form-group">
                                <label for="cate_name">分类名称</label>
                                <input type="text" name="cate_name" class="form-control" id="cate_name" placeholder="输入分类名称">
                            </div>
                            <div class="form-group">
                                <label for="cate_keywords">分类关键词</label>
                                <input type="text" name="cate_keywords" class="form-control" placeholder="输入分类关键词">
                            </div>
                            <div class="form-group">
                                <label for="cate_discription">分类描述</label>
                                <input type="text" name="cate_discription" class="form-control" placeholder="输入分类描述">
                            </div>
                            <div class="form-group">
                                <label for="pre_id">上一级分类</label>
                                <!-- <input type="text" name="pre_id" class="form-control"  placeholder="输入上一级分类"> -->
								<select  class="form-control" name="pre_id" id="pid">
									<!-- <option value="0">顶级分类</option> -->
									{$categoryForm}
								</select>
                            </div>
                                                   
                            <div class="form-group">
                                <label for="status">状态</label>
                                <select class="form-control m-bot15" id="status" name="status">
                                    <option value="1">启用</option>
                                    <option value="0">禁用</option>
                                </select>
                            </div>
                        </div>
                        <div>&nbsp;</div>
                        <div class="panel-body">
                            
                            <button type="submit" class="btn btn-primary">保存</button>
                            <a href="{$cancel}" class="btn btn-primary">取消</a>
                        </div>
                    </form>
                </section>
            </div>
        </div>
    </div>
    <!-- page footer start-->
    <include file="Common@Backend/footer" />